package com.example.neusoft.yuejian_12.Service;

import com.example.neusoft.yuejian_12.JavaBean.Contest;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by admin on 2017/10/11.
 */

public interface ContestService {
    //获取活动接口
    @GET("lists/mod/contest")
    Call<List<Contest>> getcontestlist(

    );
    //获取活动详情
    @GET("get/mod/contest")
    Call<Contest> getcontestById(
            @Query("id") String id

    );
}
